<template>
  <div class="main">
    <RePvTable
      ref="tableRef"
      :api="api"
      :auth="auth"
      :table-columns="columns"
      :diy-unfold="true"
      :is-search="true"
      locale-name="loginLog"
    />
  </div>
</template>

<script setup lang="ts">
import { ref } from "vue";
import { useLoginLog } from "./utils/hook";
import { RePvTable } from "@/components/RePvTable";

defineOptions({
  name: "LoginLog"
});

const tableRef = ref();
const { api, auth, columns } = useLoginLog(tableRef);
</script>
